import request from '../utils/request'
// export const test = () => {
//     return request({
//         url: '/search',
//         // params: {
//         //     "keywords": '海阔天空'
//         // }
//     })
// }
//推荐歌单接口
export const recommed = () => {
    return request({
        url: '/personalized',
        params: {
            limit: 6
        }
    })
}
//获取音乐列表
export const song = params => request({
    url: '/personalized/newsong',
    params
})

//获取评论列表
export const commentAPI = (params) => {
    return request({
        url: '/comment/hot?id=186016&type=0&limit=10',
        params
    })
}

//获取搜索热歌的接口
export const hotSongsAPI = () => {
    return request({
        url: '/search/hot'
    })
}
//搜索接口
export const searchAPI = (params) => {
    return request({
        url: '/search',
        params
    })
}